Holds informations about a registered test class. More...
Public Member Functions | |
| RegisteredTestClass () | |
Public Member Functions inherited from nkDebug::TestClass | |
| TestClass () | |
| TestClass (const nkLog::StringView &name) | |
| virtual | ~TestClass () |
| void | execute (const TestRunParameters ¶meters) const |
| bool | setClassInitFunction (const std::function< bool()> &func) |
| bool | setClassShutdownFunction (const std::function< void()> &func) |
| bool | setTestFunctionInitFunction (const std::function< bool()> &func) |
| bool | setTestFunctionShutdownFunction (const std::function< void()> &func) |
Static Public Member Functions | |
| static TestClass * | factoryFunc () |
Static Public Attributes | |
| static TestClass * | _registered = UnitTester::registerTestClass(&factoryFunc) |
| Registering witness. | |
Additional Inherited Members | |
Public Attributes inherited from nkDebug::TestClass | |
| FunctionSet | _testFunctions |
| Registered functions to run. | |
| ClassInitFunctionDescriptor * | _classInitFunction |
| Callback called before calling the test functions. | |
| ClassShutdownFunctionDescriptor * | _classShutdownFunction |
| Callback called after all test functions have been called. | |
| ClassInitFunctionDescriptor * | _testFunctionInitFunction |
| Callback called before calling each function. | |
| ClassShutdownFunctionDescriptor * | _testFunctionShutdownFunction |
| Callback called after calling each function. | |
| const char * | _name |
| Class name for tracking purposes. | |
Holds informations about a registered test class.
This is used internally within the registering system.
| T | The underlying TestClass type. |
| T_NAME | The name linked to the class. |
|
inline |
Default constructor.
|
inlinestatic |
Factory creation function.